package com.zy.cat.entity.game.resp;

import java.util.List;

import javax.persistence.Column;

import org.springframework.beans.factory.annotation.Value;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 
 * @info 9趣猫刮刮卡每日中奖数据记录实体类
 * @author Link
 * @date 2019-10-30 09:14
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("9趣猫刮刮卡每日数据记录实体类")
public class CardInfoResp {
	
	@JsonIgnore
	@ApiModelProperty(value = "用户账号ID", example = "fe53d6a4fa29641")
	private String pid;
	
	@ApiModelProperty(value = "500元卡剩余数量（每日限量1次）", example = "1")
	private int card500;
	
	@ApiModelProperty(value = "1000元卡剩余数量（每日限量1次）", example = "1")
	private int card1000;
	
	@ApiModelProperty(value = "1500元卡剩余数量（每日限量5次）", example = "1")
	private int card1500;
	
	@ApiModelProperty(value = "剩余卡数", example = "1")
	private int cards;

	@ApiModelProperty(value = "账户余额（分）", example = "1")
	private long rmb;
	
	@ApiModelProperty(value = "现金豆数", example = "1")
	private long beans;
	
	@ApiModelProperty(value = "刮刮卡现金豆数，用于排行榜数据", example = "10")
	private long cbeans;
	
	@ApiModelProperty(value = "剩余翻牌次数", example = "1")
	private int pokers;

	@ApiModelProperty(value = "刮刮卡新用户专享礼物列表 ，七日后消失，刮刮卡内不再展示右悬浮图标", example = "[]")
	private List<CardNewHistoryResp> nlist;
	
	@ApiModelProperty(value = "下次发卡时间", example = "2019-02-22 10:10:10")
	private String ltime;
	
	@ApiModelProperty(value = "是否为当天第一次进入，(0.非首次进入、1.当天第一次进入)", example = "1")
	@JsonProperty(value = "is_first")
	private Integer isFirst;
	
	@ApiModelProperty(value = "刮刮卡banner条", example = "[]")
	private List<CardDrawBannerResp> bannerList;
	
	@ApiModelProperty(value = "今日刮卡数", example = "1")
	@JsonIgnore
	private int gcards;
	
	@ApiModelProperty(value = "限制查询数", example = "1")
	@JsonIgnore
	private int limitNum;
	
	@ApiModelProperty(value = "退出刮刮卡奖励弹窗是否已展示(0.未展示、1.已展示)", example = "1")
	@JsonProperty(value = "is_show")
	private Integer isShow;

	public CardInfoResp(String pid) {
		super();
		this.pid = pid;
	}

	public CardInfoResp(String pid, int limitNum) {
		super();
		this.pid = pid;
		this.limitNum = limitNum;
	}
	
	
}
